<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<script language="javascript" type="text/javascript" src="/Public/admin/js/jquery-1.7.2.min.js"></script>
<script src="/Public/admin/js/frame.js" language="javascript" type="text/javascript"></script>
<link href="/Public/admin/css/frame.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function get_cate(){
		$.get("<?php echo U(MODULE_NAME.'/Index/getParentCate');?>",
            {
                'pid' : 0, 
                'rnd' : Math.floor(111+Math.random()*100000)
            },
            function(data){
                var listUl = $('#dl_items_2_0 ul');
                if(!isNaN(data.count) && data.count>0){
                	listUl.text('');
                }
                if(data.list && (typeof data.list == 'object')){
                    $.each(data.list, function(i, v){
                        var html = '<li><a href="'+v.url+'" target="main">'+v.name+'</a></li>';
                        listUl.append(html);
                    });
                }
                               
            },'json');
	}
	get_cate();
</script>
<!--[if IE 6]>
<script src="/Public/admin/js/DD_belatedPNG_0.0.8a-min.js" language="javascript" type="text/javascript"></script>
<script>
  DD_belatedPNG.fix('.nav ul li a,.top_link ul li,background');   /* string argument can be any CSS selector */
</script>
<![endif]-->
</head>
<body class="showmenu">
<div class="pagemask"></div>
<iframe class="iframemask"></iframe>
<div class="head">
<div class="top_logo"> <img src="/Public/admin/images/main/logo.png" /> </div>
    <div id="nav" class="nav">
        <ul>
            <li id="menu_0"><a _for="left_menu_0" href="#" class="thisclass"><b>常规管理</b></a></li>
            <li id="menu_1"><a _for="left_menu_1" href="#" class=""><b>模块管理</b></a></li>
            <li id="menu_2"><a _for="left_menu_2" href="#" class=""><b>系统设置</b></a></li>
            <li id="menu_3"><a _for="left_menu_3" href="#" class=""><b>扩展管理</b></a></li>
        </ul>
    </div> 
	 <div class="top_link">
      <ul>
	    <li id="i_self">你好，<?php echo (session('ru_adm_username')); ?></li>
		<li id="i_hide_menu"><a href="#" id="togglemenu">隐藏菜单</a></li>
        <li id="i_home"><a href="<?php echo C('cfg_weburl');?>" target="_blank">首页</a></li> 
        <!--<li id="i_help"><a href="<?php echo goLinkEncode('http://www./');?>" target="_blank">帮助</a></li>    -->
        <li id="i_exit"><a href="<?php echo U(MODULE_NAME.'/Login/logout');?>" target="_top">退出</a></li>		
      </ul>
    </div>
</div>
<!-- header end -->

<div class="left">
<div class="span"></div>
<div class="menu" id="menu">
<div id="items_left_menu_0">
<!--    <dl id="dl_items_1_0">
        <dt>栏目管理</dt>
        <dd>
            <ul>
                <li><a href="/demo/index.php?g=Manage&m=Category&a=index" target="main">栏目管理</a></li>       </ul>
        </dd>
    </dl>
    -->
    <dl id="dl_items_2_0">
        <dt>内容管理</dt>
        <dd>
            <ul>
                <li><a href="<?php echo U(MODULE_NAME. '/Page/index');?>" target="main">单页面管理</a></li>       
                <li><a href="<?php echo U(MODULE_NAME. '/Zhuanjia/index');?>" target="main">专家管理</a></li>       
            </ul>
        </dd>
    </dl>
<!--    <dl id="dl_items_3_0"> 
        <dt>快捷面板</dt>
        <dd>
            <ul>
                <li><a href="/demo/index.php?g=Manage&m=Abc&a=index" target="main">专家管理</a></li>
                <li><a href="/demo/index.php?g=Manage&m=Link&a=index" target="main">友情链接</a></li>
            </ul>
        </dd>
    </dl>   
    -->

</div>
<div id="items_left_menu_1">
    <dl id="dl_items_1_1">
        <dt>内置模块</dt>
        <dd>
            <ul>
                <li><a href="<?php echo U(MODULE_NAME. '/links/index');?>" target="main">友情链接管理</a></li>
            </ul> 
        </dd>
    </dl>
<!--    <dl id="dl_items_2_1">
        <dt>其他模块</dt>
        <dd>
            <ul>
            </ul>
        </dd>
    </dl>   
    -->

</div>
<div id="items_left_menu_2">
    <dl id="dl_items_1_2">
        <dt>系统设置</dt>
        <dd>
            <ul>
                <li><a href="<?php echo U(MODULE_NAME. '/System/site');?>" target="main">网站设置</a></li>
                <!--     <li><a href="/demo/index.php?g=Manage&m=System&a=url" target="main">伪静态|缓存设置</a></li><li><a href="/demo/index.php?g=Manage&m=System&a=online" target="main">在线客服设置</a></li><li><a href="/demo/index.php?g=Manage&m=System&a=clearCache" target="main">清除系统缓存</a></li>      -->
            </ul>
        </dd>
    </dl>
    <!--
    <dl id="dl_items_2_2">
        <dt>静态缓存</dt>
        <dd>
            <ul>
                <li><a href="/demo/index.php?g=Manage&m=ClearHtml&a=all" target="main">一键更新全站</a></li><li><a href="/demo/index.php?g=Manage&m=ClearHtml&a=home" target="main">更新首页</a></li><li><a href="/demo/index.php?g=Manage&m=ClearHtml&a=lists" target="main">更新栏目</a></li><li><a href="/demo/index.php?g=Manage&m=ClearHtml&a=shows" target="main">更新文档</a></li><li><a href="/demo/index.php?g=Manage&m=ClearHtml&a=special" target="main">更新专题</a></li>       </ul>
        </dd>
    </dl>
    <dl id="dl_items_3_2">
        <dt>会员管理</dt>
        <dd>
            <ul>
                <li><a href="/demo/index.php?g=Manage&m=Member&a=index" target="main">会员管理</a></li><li><a href="/demo/index.php?g=Manage&m=Membergroup&a=index" target="main">会员组管理</a></li>       </ul>
        </dd>
    </dl>
    <dl id="dl_items_4_2">
        <dt>管理员管理</dt>
        <dd>
            <ul>

                <li><a href="/demo/index.php?g=Manage&m=Rbac&a=index" target="main">系统用户管理</a></li><li><a href="/demo/index.php?g=Manage&m=Rbac&a=role" target="main">用户组设置</a></li><li><a href="/demo/index.php?g=Manage&m=Rbac&a=node" target="main">节点列表</a></li>     </ul>
        </dd>
    </dl>   
    -->
</div>
<div id="items_left_menu_3">
<!--    <dl id="dl_items_1_3">
        <dt>扩展管理</dt>
        <dd>
            <ul>
                <li><a href="/demo/index.php?g=Manage&m=Model&a=index" target="main">模型管理</a></li><li><a href="/demo/index.php?g=Manage&m=Menu&a=index" target="main">菜单管理</a></li><li><a href="/demo/index.php?g=Manage&m=Database&a=index" target="main">数据库管理</a></li><li><a href="/demo/index.php?g=Manage&m=Itemgroup&a=index" target="main">联动管理</a></li><li><a href="/demo/index.php?g=Manage&m=Area&a=index" target="main">区域管理</a></li><li><a href="/demo/index.php?g=Manage&m=Attachment&a=index" target="main">已传文件管理</a></li>       </ul>
        </dd>
    </dl>
    -->
    <dl id="dl_items_2_3">
        <dt>我的账户</dt>
        <dd>
            <ul>
                    <!--<li><a href="/demo/index.php?g=Manage&m=Personal&a=index" target="main">修改我的信息</a></li>-->
                <li><a href="<?php echo U(MODULE_NAME. '/Personal/pwd');?>" target="main">修改密码</a></li>        </ul>
        </dd>
    </dl>   
</div><!-- Item End -->
</div>
</foreach>
<!-- Item End -->


</div>
</div>
<!-- left end -->

<div class="right">
	<div class="rightContent">
	<iframe id="main" name="main" frameborder="0" scrolling="yes" src="<?php echo U(MODULE_NAME. '/Public/main');?>" ></iframe>
	</div>    
</div>
<!-- right end -->

<div class="qucikmenu" id="qucikmenu">
  <ul>
<li><a href="content_list.htm" target="main">数据列表</a></li>
<li><a href="catalog_main.htm" target="main">栏目管理</a></li>
<li><a href="sys_info.htm" target="main">修改系统参数</a></li>
  </ul>
</div>
<!-- qucikmenu end -->
</body>
</html>